using System;
using System.Data;
using System.Configuration;
using System.Collections.Generic;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using FitnessClub.Bll.AccountManager;
using FitnessClub.Bll.Facade.Dictionary;

public partial class TicketManager : System.Web.UI.Page
{
    #region Page_Load
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
        }

    } 
    #endregion



	protected void GoToIssueOfTickets_Click(object sender, EventArgs e)
	{
		Response.Redirect("IssueOfTickets.aspx");
	}
	protected void GoToTickeFeeding_Click(object sender, EventArgs e)
	{
		Response.Redirect("ticketFeeding.aspx");
	}
	protected void Button1_Click(object sender, EventArgs e)
	{
		if (Delegate.IsUserExisting(TextBoxLogin.Text) == false)
			throw new Exception("W bazie niema usera o danym loginie:" + TextBoxLogin.Text);

		StateManager.Instance.AddToSession(SessionKeys.TicketsSummaryLogin, TextBoxLogin.Text);
		Response.Redirect("ticketsSummary.aspx");
	}
}
